home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 1.toast / pc / sample code / files / standard file / customputappend / initmac.h < prev   
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.6 KB  |  59 lines

  1. /*
  2.     File:        InitMac.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by:     
  7.  
  8.     Copyright:    Copyright © 1994-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 7/1/1999    Karl Groethe         Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23. #ifndef _INITMAC_
  24. #define _INITMAC_
  25.  
  26.  
  27. #ifndef __TYPES__
  28. #include <Types.h>
  29. #endif
  30.  
  31. #ifndef __TRAPS__
  32. #include <Traps.h>
  33. #endif
  34.  
  35.  
  36. /**\
  37. |**| ==============================================================================
  38. |**| PUBLIC FUNCTION PROTOTYPES
  39. |**| ==============================================================================
  40. \**/
  41. short            NumToolboxTraps        ( void ) ;
  42. TrapType        GetTrapType            ( short theTrap ) ;
  43. Boolean            TrapAvailable        ( short theTrap ) ;
  44. Boolean            WNEAvailable        ( void ) ;
  45. void            CheckQuickDraw        ( void ) ;
  46. void            InitToolBox            ( short numberOfMasters ) ;
  47.  
  48. /**\
  49. |**| ==============================================================================
  50. |**| PUBLIC GLOBAL EXTERNS
  51. |**| ==============================================================================
  52. \**/
  53. extern Boolean        WNE_available ;
  54. extern Boolean        HasGWorlds ;
  55. extern Boolean        HasCQD ;
  56.  
  57.  
  58. #endif
  59.